    <!-- 个人中心页 -->
<?php
  echo $this->Html->css('user_center');
?>
    <div id="personalPage">
<?php
    echo $this->Session->flash('auth'); 
    echo $this->Session->flash();
    if (isset($_SESSION['userid'])){
    	if ($user['User']['id'] == $_SESSION['userid'])
    		echo $this->element('user_nav').'<div class="clearFix"></div>';
		else
			echo $this->element('other_nav').'<div class="clearFix"></div>';
		echo $this->element('my_recipes');
	}
    else echo $this->element('other_nav').'<div class="clearFix"></div>'.$this->element('other_recipes');
?>